<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pepr3D: pepr3d::PaintBucket Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pepr3d_icon.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Pepr3D
   &#160;<span id="projectnumber">v1.0</span>
   </div>
   <div id="projectbrief">Pepr3D is a 3D graphics editor designed for FDM printing</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpepr3d_1_1_paint_bucket.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpepr3d_1_1_paint_bucket-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">pepr3d::PaintBucket Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> used for coloring whole regions with a single click.  
 <a href="classpepr3d_1_1_paint_bucket.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_paint_bucket_8h_source.html">PaintBucket.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for pepr3d::PaintBucket:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpepr3d_1_1_paint_bucket.png" usemap="#pepr3d::PaintBucket_map" alt=""/>
  <map id="pepr3d::PaintBucket_map" name="pepr3d::PaintBucket_map">
<area href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t..." alt="pepr3d::Tool" shape="rect" coords="0,0,124,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpepr3d_1_1_paint_bucket_1_1_color_stopping.html">ColorStopping</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A paint bucket criterion that stops on a different color.  <a href="structpepr3d_1_1_paint_bucket_1_1_color_stopping.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpepr3d_1_1_paint_bucket_1_1_do_not_stop.html">DoNotStop</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A paint bucket criterion that never stops, used for coloring the whole model.  <a href="structpepr3d_1_1_paint_bucket_1_1_do_not_stop.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpepr3d_1_1_paint_bucket_1_1_normal_stopping.html">NormalStopping</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A paint bucket criterion that stops when an angle between normals is too high.  <a href="structpepr3d_1_1_paint_bucket_1_1_normal_stopping.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a9e31fe563fd8e90416c17e18ab58b8a3"><td class="memItemLeft" align="right" valign="top"><a id="a9e31fe563fd8e90416c17e18ab58b8a3"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>NormalAngleCompare</b> { <b>NEIGHBOURS</b> = 1, 
<b>ABSOLUTE</b> = 2
 }</td></tr>
<tr class="separator:a9e31fe563fd8e90416c17e18ab58b8a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a48ecf4d542b2ada2c2a9b51669f75bcb"><td class="memItemLeft" align="right" valign="top"><a id="a48ecf4d542b2ada2c2a9b51669f75bcb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PaintBucket</b> (<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;app)</td></tr>
<tr class="separator:a48ecf4d542b2ada2c2a9b51669f75bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab714ccf52a91777feb38d1149bda8451"><td class="memItemLeft" align="right" valign="top"><a id="ab714ccf52a91777feb38d1149bda8451"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#ab714ccf52a91777feb38d1149bda8451">getName</a> () const override</td></tr>
<tr class="memdesc:ab714ccf52a91777feb38d1149bda8451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a short name, displayed e.g., in a side pane and tooltip. <br /></td></tr>
<tr class="separator:ab714ccf52a91777feb38d1149bda8451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af756844e2801c8da35fffb900fc2d831"><td class="memItemLeft" align="right" valign="top"><a id="af756844e2801c8da35fffb900fc2d831"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#af756844e2801c8da35fffb900fc2d831">getDescription</a> () const override</td></tr>
<tr class="memdesc:af756844e2801c8da35fffb900fc2d831"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a description, displayed e.g., in a tooltip. <br /></td></tr>
<tr class="separator:af756844e2801c8da35fffb900fc2d831"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5707861e941cb4b2337a6b8b8da9c739"><td class="memItemLeft" align="right" valign="top"><a id="a5707861e941cb4b2337a6b8b8da9c739"></a>
virtual std::optional&lt; <a class="el" href="structpepr3d_1_1_hotkey.html">Hotkey</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a5707861e941cb4b2337a6b8b8da9c739">getHotkey</a> (const <a class="el" href="classpepr3d_1_1_hotkeys.html">Hotkeys</a> &amp;hotkeys) const override</td></tr>
<tr class="memdesc:a5707861e941cb4b2337a6b8b8da9c739"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an associated <a class="el" href="structpepr3d_1_1_hotkey.html" title="A hotkey, i.e., a keycode and modifiers (Ctrl)">Hotkey</a> or an empty value. Use hotkeys.findHotkey() method. <br /></td></tr>
<tr class="separator:a5707861e941cb4b2337a6b8b8da9c739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81f945468a9ddcca09bd3bd1fa4e156c"><td class="memItemLeft" align="right" valign="top"><a id="a81f945468a9ddcca09bd3bd1fa4e156c"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a81f945468a9ddcca09bd3bd1fa4e156c">getIcon</a> () const override</td></tr>
<tr class="memdesc:a81f945468a9ddcca09bd3bd1fa4e156c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a UTF-8 icon from an icon font. <br /></td></tr>
<tr class="separator:a81f945468a9ddcca09bd3bd1fa4e156c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a493abf6741118fc98fefa50adc266a6d"><td class="memItemLeft" align="right" valign="top"><a id="a493abf6741118fc98fefa50adc266a6d"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a493abf6741118fc98fefa50adc266a6d">isEnabled</a> () const override</td></tr>
<tr class="memdesc:a493abf6741118fc98fefa50adc266a6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if enabled and can be selected, otherwise false. This should be a fast method, it is called every frame! <br /></td></tr>
<tr class="separator:a493abf6741118fc98fefa50adc266a6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e4d61353e4c1a2bf4e911690cc45e64"><td class="memItemLeft" align="right" valign="top"><a id="a1e4d61353e4c1a2bf4e911690cc45e64"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a1e4d61353e4c1a2bf4e911690cc45e64">drawToSidePane</a> (<a class="el" href="classpepr3d_1_1_side_pane.html">SidePane</a> &amp;sidePane) override</td></tr>
<tr class="memdesc:a1e4d61353e4c1a2bf4e911690cc45e64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called every frame on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a>. Draw to <a class="el" href="classpepr3d_1_1_side_pane.html" title="Right side of the user interface that displays options of the currently selected tool.">SidePane</a> from inside this method. <br /></td></tr>
<tr class="separator:a1e4d61353e4c1a2bf4e911690cc45e64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a166b6b6bd0caef117635aec4489cce66"><td class="memItemLeft" align="right" valign="top"><a id="a166b6b6bd0caef117635aec4489cce66"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a166b6b6bd0caef117635aec4489cce66">drawToModelView</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView) override</td></tr>
<tr class="memdesc:a166b6b6bd0caef117635aec4489cce66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called every frame on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a>. Draw to <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a> from inside this method. <br /></td></tr>
<tr class="separator:a166b6b6bd0caef117635aec4489cce66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0204c28c5e9f6ec4a244ab0e9105ef6"><td class="memItemLeft" align="right" valign="top"><a id="af0204c28c5e9f6ec4a244ab0e9105ef6"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#af0204c28c5e9f6ec4a244ab0e9105ef6">onModelViewMouseDown</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView, ci::app::MouseEvent event) override</td></tr>
<tr class="memdesc:af0204c28c5e9f6ec4a244ab0e9105ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> when users presses a mouse button over a <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a>. <br /></td></tr>
<tr class="separator:af0204c28c5e9f6ec4a244ab0e9105ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64f3acef2f66ba3c5b323267aeadd98d"><td class="memItemLeft" align="right" valign="top"><a id="a64f3acef2f66ba3c5b323267aeadd98d"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a64f3acef2f66ba3c5b323267aeadd98d">onModelViewMouseDrag</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView, ci::app::MouseEvent event) override</td></tr>
<tr class="memdesc:a64f3acef2f66ba3c5b323267aeadd98d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> when users drags a mouse button over a <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a>. <br /></td></tr>
<tr class="separator:a64f3acef2f66ba3c5b323267aeadd98d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e667f3a895759cd6807241a378a6615"><td class="memItemLeft" align="right" valign="top"><a id="a4e667f3a895759cd6807241a378a6615"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a4e667f3a895759cd6807241a378a6615">onModelViewMouseMove</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView, ci::app::MouseEvent event) override</td></tr>
<tr class="memdesc:a4e667f3a895759cd6807241a378a6615"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> when users moves mouse cursor over a <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a>. Note: This method is not called when the user is dragging the mouse! <br /></td></tr>
<tr class="separator:a4e667f3a895759cd6807241a378a6615"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3460bee5bb24684edcdeca08b76b4cc4"><td class="memItemLeft" align="right" valign="top"><a id="a3460bee5bb24684edcdeca08b76b4cc4"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#a3460bee5bb24684edcdeca08b76b4cc4">onNewGeometryLoaded</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView) override</td></tr>
<tr class="memdesc:a3460bee5bb24684edcdeca08b76b4cc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on EVERY <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> right after a new <a class="el" href="classpepr3d_1_1_geometry.html" title="The whole geometry of a model that the user is painting.">Geometry</a> is loaded or imported. <br /></td></tr>
<tr class="separator:a3460bee5bb24684edcdeca08b76b4cc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7492333b539c46dc9598feaa87dad39"><td class="memItemLeft" align="right" valign="top"><a id="ac7492333b539c46dc9598feaa87dad39"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_paint_bucket.html#ac7492333b539c46dc9598feaa87dad39">onToolSelect</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView) override</td></tr>
<tr class="memdesc:ac7492333b539c46dc9598feaa87dad39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> right after user selects it. Note: It may also be called when a user selects the same tool again! <br /></td></tr>
<tr class="separator:ac7492333b539c46dc9598feaa87dad39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpepr3d_1_1_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpepr3d_1_1_tool')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classpepr3d_1_1_tool.html">pepr3d::Tool</a></td></tr>
<tr class="memitem:a3d6d4e593753eba998b2a6d6fb49c5af inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="a3d6d4e593753eba998b2a6d6fb49c5af"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_tool.html#a3d6d4e593753eba998b2a6d6fb49c5af">onModelViewMouseUp</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView, ci::app::MouseEvent event)</td></tr>
<tr class="memdesc:a3d6d4e593753eba998b2a6d6fb49c5af inherit pub_methods_classpepr3d_1_1_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> when users releases a mouse button over a <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a>. <br /></td></tr>
<tr class="separator:a3d6d4e593753eba998b2a6d6fb49c5af inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1aae7ecebb6d2e63dfa61d08ff022ae inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="aa1aae7ecebb6d2e63dfa61d08ff022ae"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_tool.html#aa1aae7ecebb6d2e63dfa61d08ff022ae">onModelViewMouseWheel</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView, ci::app::MouseEvent event)</td></tr>
<tr class="memdesc:aa1aae7ecebb6d2e63dfa61d08ff022ae inherit pub_methods_classpepr3d_1_1_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a currently active <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> when users scrolls mouse wheel over a <a class="el" href="classpepr3d_1_1_model_view.html" title="The main part of the user interface, shows the geometry to the user.">ModelView</a>. <br /></td></tr>
<tr class="separator:aa1aae7ecebb6d2e63dfa61d08ff022ae inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafba698d859abbc2b1dc48a38ca24d36 inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="aafba698d859abbc2b1dc48a38ca24d36"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_tool.html#aafba698d859abbc2b1dc48a38ca24d36">onToolDeselect</a> (<a class="el" href="classpepr3d_1_1_model_view.html">ModelView</a> &amp;modelView)</td></tr>
<tr class="memdesc:aafba698d859abbc2b1dc48a38ca24d36 inherit pub_methods_classpepr3d_1_1_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called on a <a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> right after user selects another tool. Note: It may also be called when a user selects the same tool again! <br /></td></tr>
<tr class="separator:aafba698d859abbc2b1dc48a38ca24d36 inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2420df1e8a95c66a882a923158084020 inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="a2420df1e8a95c66a882a923158084020"></a>
virtual std::optional&lt; std::size_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_tool.html#a2420df1e8a95c66a882a923158084020">safeIntersectMesh</a> (<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;mainApplication, const ci::Ray ray) final</td></tr>
<tr class="memdesc:a2420df1e8a95c66a882a923158084020 inherit pub_methods_classpepr3d_1_1_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an optional intersection (an index of a triangle) of a ci::Ray with current <a class="el" href="classpepr3d_1_1_geometry.html" title="The whole geometry of a model that the user is painting.">Geometry</a>. This method is safe and if an exception occurs, an error dialog is automatically shown. <br /></td></tr>
<tr class="separator:a2420df1e8a95c66a882a923158084020 inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2645ac765f26cbda2ab9c818a362912f inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="a2645ac765f26cbda2ab9c818a362912f"></a>
virtual std::optional&lt; <a class="el" href="structpepr3d_1_1_detailed_triangle_id.html">DetailedTriangleId</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpepr3d_1_1_tool.html#a2645ac765f26cbda2ab9c818a362912f">safeIntersectDetailedMesh</a> (<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;mainApplication, const ci::Ray ray) final</td></tr>
<tr class="memdesc:a2645ac765f26cbda2ab9c818a362912f inherit pub_methods_classpepr3d_1_1_tool"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an optional intersection (<a class="el" href="structpepr3d_1_1_detailed_triangle_id.html" title="Triangle ID in all detailed triangles Face index in mMeshDetailed faces;.">DetailedTriangleId</a>) of a ci::Ray with current <a class="el" href="classpepr3d_1_1_geometry.html" title="The whole geometry of a model that the user is painting.">Geometry</a>. This method is safe and if an exception occurs, an error dialog is automatically shown. <br /></td></tr>
<tr class="separator:a2645ac765f26cbda2ab9c818a362912f inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4584fe20f552ae3b7814ecab423768 inherit pub_methods_classpepr3d_1_1_tool"><td class="memItemLeft" align="right" valign="top"><a id="aff4584fe20f552ae3b7814ecab423768"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>safeComputeSdf</b> (<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;mainApplication) final</td></tr>
<tr class="separator:aff4584fe20f552ae3b7814ecab423768 inherit pub_methods_classpepr3d_1_1_tool"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a5756508c517dbec4bb4aeb17fc8acac8"><td class="memItemLeft" align="right" valign="top"><a id="a5756508c517dbec4bb4aeb17fc8acac8"></a>
<a class="el" href="classpepr3d_1_1_main_application.html">MainApplication</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>mApplication</b></td></tr>
<tr class="separator:a5756508c517dbec4bb4aeb17fc8acac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d44e37110a6d39bacc8789ad0d2fd6f"><td class="memItemLeft" align="right" valign="top"><a id="a2d44e37110a6d39bacc8789ad0d2fd6f"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mStopOnNormal</b> = false</td></tr>
<tr class="separator:a2d44e37110a6d39bacc8789ad0d2fd6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc22a30f5702c5b06afe5f0e6d3124a2"><td class="memItemLeft" align="right" valign="top"><a id="afc22a30f5702c5b06afe5f0e6d3124a2"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mStopOnNormalDegrees</b> = 30</td></tr>
<tr class="separator:afc22a30f5702c5b06afe5f0e6d3124a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fefc0ec504e248fb0f5ef49687edc6e"><td class="memItemLeft" align="right" valign="top"><a id="a7fefc0ec504e248fb0f5ef49687edc6e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mStopOnColor</b> = true</td></tr>
<tr class="separator:a7fefc0ec504e248fb0f5ef49687edc6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad28c149c77707dab895d7a2cc29ae713"><td class="memItemLeft" align="right" valign="top"><a id="ad28c149c77707dab895d7a2cc29ae713"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mDoNotStop</b> = false</td></tr>
<tr class="separator:ad28c149c77707dab895d7a2cc29ae713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1797fee17fba3e0f11e977fe9a8fe0a6"><td class="memItemLeft" align="right" valign="top"><a id="a1797fee17fba3e0f11e977fe9a8fe0a6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mShouldPaintWhileDrag</b> = true</td></tr>
<tr class="separator:a1797fee17fba3e0f11e977fe9a8fe0a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90734d28f1841f9510908343042d49a"><td class="memItemLeft" align="right" valign="top"><a id="ad90734d28f1841f9510908343042d49a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mDragging</b> = false</td></tr>
<tr class="separator:ad90734d28f1841f9510908343042d49a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0841aa42b8a40150ae4ef8c8620ff837"><td class="memItemLeft" align="right" valign="top"><a id="a0841aa42b8a40150ae4ef8c8620ff837"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>mGeometryCorrect</b> = true</td></tr>
<tr class="separator:a0841aa42b8a40150ae4ef8c8620ff837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25e2b7aabc00a4c0c92e2e113de3298d"><td class="memItemLeft" align="right" valign="top"><a id="a25e2b7aabc00a4c0c92e2e113de3298d"></a>
NormalAngleCompare&#160;</td><td class="memItemRight" valign="bottom"><b>mNormalCompare</b> = NormalAngleCompare::NEIGHBOURS</td></tr>
<tr class="separator:a25e2b7aabc00a4c0c92e2e113de3298d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a19ec31e54b1325acdf8290c7e6682"><td class="memItemLeft" align="right" valign="top"><a id="a76a19ec31e54b1325acdf8290c7e6682"></a>
glm::ivec2&#160;</td><td class="memItemRight" valign="bottom"><b>mLastMousePos</b></td></tr>
<tr class="separator:a76a19ec31e54b1325acdf8290c7e6682"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classpepr3d_1_1_tool.html" title="A base class of all tools that the user can select and manipulate the Geometry and application with t...">Tool</a> used for coloring whole regions with a single click. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Home/MFF/1-Mgr/projekt/pepr3d/src/tools/<a class="el" href="_paint_bucket_8h_source.html">PaintBucket.h</a></li>
<li>D:/Home/MFF/1-Mgr/projekt/pepr3d/src/tools/PaintBucket.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacepepr3d.html">pepr3d</a></li><li class="navelem"><a class="el" href="classpepr3d_1_1_paint_bucket.html">PaintBucket</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
